projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ce375f
)
[__GNU_LIBRARY__]: Use size_t for fromlen.
author
Karl Heuer
<kwzh@gnu.org>
Mon, 15 Jul 1996 21:26:39 +0000
(21:26 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Mon, 15 Jul 1996 21:26:39 +0000
(21:26 +0000)
lib-src/emacsserver.c
patch
|
blob
|
history
diff --git
a/lib-src/emacsserver.c
b/lib-src/emacsserver.c
index 05449bf6105ff04c909ac1f981748cb01cbecc3b..3d4d4cf99375e55b1094647c4c1ee9f93d4ed078 100644
(file)
--- a/
lib-src/emacsserver.c
+++ b/
lib-src/emacsserver.c
@@
-81,10
+81,16
@@
extern int errno;
#define FD_ZERO(p) (*(p) = 0)
#endif /* no FD_SET */
+int
main ()
{
char system_name[32];
- int s, infd, fromlen;
+ int s, infd;
+#ifdef __GNU_LIBRARY__
+ size_t fromlen;
+#else
+ int fromlen;
+#endif
struct sockaddr_un server, fromunix;
char *homedir;
char *str, string[BUFSIZ], code[BUFSIZ];